<?php
// Push two scripts onto the end of our header array as they need to be displayed on every page
// Google AJAX API
$head_array[] = "<script src=\"http://www.google.com/jsapi?key=ABQIAAAAEaaCCkXS5lC7Ep84hZSadBTI5Z29v9flLJs1MPOzWKVibQ5XfBQdKlglebVtsoWo-CKdlX2vT9hxeA\" type=\"text/javascript\"></script>\n";
$head_array[] = "<script type=\"text/javascript\" src=\"./libs/GoogleSearch.js\"></script>\n";

// Add a menu item
function search_adminMenu() {
	$stack = array();
	$stack[] = "Google Search Config";
	$stack['action=config'] = "Google ID";
	return $stack;
}

/**
 * Generates the site search form.
 *
 * @param array $args Arguments to pass to the module in the form of an assoc array.
 */
function insert_gcmsSearch($args) {
	echo '<div id="searchForm">Loading...</div>';
}
?>
